package com.softeem.score.manager.mapper;

import com.softeem.score.model.entity.system.SysRole;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zhu
 * @since 2024-02-14
 */
public interface SysRoleMapper {

    void saveSysRole(String name, String description);

    void updateSysRole(SysRole sysRole);

    void delete(Long roleId);

    List<SysRole> findAllRoles();

    List<SysRole> findByRoleName(String roleName);
}
